Skip to content

Conversation

@sidepelican
Copy link
Contributor

Motivation

The documentation example was using a manual mapKeys closure instead of the more concise prefixKeys(with:) convenience method provided by the library.

Modifications

Updated the code snippet in KeyMappingProvider.swift to use the prefixKeys(with:) method.

Result

The documentation example now correctly reflects the recommended and most concise way to prefix keys.

Test Plan

Documentation-only change. Verified the syntax in the code comment.

Copy link
Contributor

@czechboy0 czechboy0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @sidepelican!

@czechboy0 czechboy0 enabled auto-merge (squash) December 19, 2025 06:39
@czechboy0 czechboy0 added the semver/none No version bump required. label Dec 19, 2025
@czechboy0 czechboy0 merged commit 08206f5 into apple:main Dec 19, 2025
31 of 32 checks passed
@sidepelican sidepelican deleted the fix_inline_doc branch December 19, 2025 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants